Change in openvpn[master]: Fix PIN cache time in test_pkcs11.c
A message that is not in the archive (sent off-list or not yet received): gerrit.1760062834000.Ic6fd6ba676b4741da7811ffc7c9688d4673465f8@...2715...
Attention is currently required from: flichtenheld, plaisthos.
Hello plaisthos, flichtenheld,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/1263?usp=email
to review the following change.
Change subject: Fix PIN cache time in test_pkcs11.c
......................................................................
Fix PIN cache time in test_pkcs11.c
Github: closes OpenVPN/openvpn#861
---
M tests/unit_tests/openvpn/test_pkcs11.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/63/1263/1
tests/unit_tests/openvpn/test_pkcs11.c +1 -1
@@ -320,7 +320,7 @@/* set default propq as we do in ssl_openssl.c */ EVP_set_default_properties (tls_libctx,"?provider!=ovpn.xkey" );#endif -pkcs11_initialize (true,0 );/* protected auth enabled, pin-cache = 0 */ +pkcs11_initialize (true,60 );/* protected auth enabled, pin-cache = 60s */ pkcs11_addProvider (SOFTHSM2_MODULE_PATH , false,0 , false);return 0 ; }
Signature · 15 lines
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1263?usp=email To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ic6fd6ba676b4741da7811ffc7c9688d4673465f8 Gerrit-Change-Number: 1263 Gerrit-PatchSet: 1 Gerrit-Owner: selvanair <[email protected]...> Gerrit-Reviewer: flichtenheld <[email protected]...> Gerrit-Reviewer: plaisthos <[email protected]...> Gerrit-CC: openvpn-devel <[email protected]> Gerrit-Attention: plaisthos <[email protected]...> Gerrit-Attention: flichtenheld <[email protected]...>
Attention is currently required from: flichtenheld, selvanair.
plaisthos has posted comments on this change by selvanair. ( http://gerrit.openvpn.net/c/openvpn/+/1263?usp=email )
Change subject: Fix PIN cache time in test_pkcs11.c
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1263?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic6fd6ba676b4741da7811ffc7c9688d4673465f8
Gerrit-Change-Number: 1263
Gerrit-PatchSet: 1
Gerrit-Owner: selvanair <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Comment-Date: Fri, 10 Oct 2025 06:36:34 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
PATCH 1/1 Fix PIN cache time in test_pkcs11.c
In reply to a message not in the archiveFrom: Selva Nair <[email protected]...>
Github: closes OpenVPN/openvpn#861
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1263
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1263
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Arne Schwabe <[email protected]...>
tests/unit_tests/openvpn/test_pkcs11.c +1 -1
@@ -320,7 +320,7 @@/* set default propq as we do in ssl_openssl.c */ EVP_set_default_properties (tls_libctx,"?provider!=ovpn.xkey" );#endif -pkcs11_initialize (true,0 );/* protected auth enabled, pin-cache = 0 */ +pkcs11_initialize (true,60 );/* protected auth enabled, pin-cache = 60s */ pkcs11_addProvider (SOFTHSM2_MODULE_PATH , false,0 , false);return 0 ; }
[Openvpn-devel] [PATCH applied] Re: Fix PIN cache time in test_pkcs11.c
Thanks for the quick fix. I have not tested this, but the explanation makes sense (and all BBs are fine, though that could be Frank's "let's just retry this particular test if it fails" change).
Your patch has been applied to the master branch.
commit f9bfd1c405f86617ace2f63ff29f1a4099b6920b
Author: Selva Nair Date: Fri Oct 10 08:39:27 2025 +0200
Fix PIN cache time in test_pkcs11.c
Signed-off-by: Selva Nair <[email protected]...>
Acked-by: Arne Schwabe <[email protected]...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1263
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg33306.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#2) to the change originally created by selvanair. ( http://gerrit.openvpn.net/c/openvpn/+/1263?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by plaisthos
Change subject: Fix PIN cache time in test_pkcs11.c
......................................................................
Fix PIN cache time in test_pkcs11.c
Github: closes OpenVPN/openvpn#861
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1263
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg33306.html
---
M tests/unit_tests/openvpn/test_pkcs11.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/63/1263/2
tests/unit_tests/openvpn/test_pkcs11.c +1 -1
@@ -320,7 +320,7 @@/* set default propq as we do in ssl_openssl.c */ EVP_set_default_properties (tls_libctx,"?provider!=ovpn.xkey" );#endif -pkcs11_initialize (true,0 );/* protected auth enabled, pin-cache = 0 */ +pkcs11_initialize (true,60 );/* protected auth enabled, pin-cache = 60s */ pkcs11_addProvider (SOFTHSM2_MODULE_PATH , false,0 , false);return 0 ; }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1263?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic6fd6ba676b4741da7811ffc7c9688d4673465f8
Gerrit-Change-Number: 1263
Gerrit-PatchSet: 2
Gerrit-Owner: selvanair <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1263?usp=email )
Change subject: Fix PIN cache time in test_pkcs11.c
......................................................................
Fix PIN cache time in test_pkcs11.c
Github: closes OpenVPN/openvpn#861
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1263
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg33306.html
---
M tests/unit_tests/openvpn/test_pkcs11.c
1 file changed, 1 insertion(+), 1 deletion(-)
tests/unit_tests/openvpn/test_pkcs11.c +1 -1
@@ -320,7 +320,7 @@/* set default propq as we do in ssl_openssl.c */ EVP_set_default_properties (tls_libctx,"?provider!=ovpn.xkey" );#endif -pkcs11_initialize (true,0 );/* protected auth enabled, pin-cache = 0 */ +pkcs11_initialize (true,60 );/* protected auth enabled, pin-cache = 60s */ pkcs11_addProvider (SOFTHSM2_MODULE_PATH , false,0 , false);return 0 ; }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1263?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic6fd6ba676b4741da7811ffc7c9688d4673465f8
Gerrit-Change-Number: 1263
Gerrit-PatchSet: 2
Gerrit-Owner: selvanair <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>